#include <bits/stdc++.h>

using namespace std;

int main() {
	freopen("palin.in","r",stdin);
	freopen("palin.out","w",stdout);
	int t;
	scanf("%d",&t);
	while (t--) printf("-1");
	return 0;
}
